<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>会员推荐 - 社交平台</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --primary: #4f46e5;
            --primary-light: #f0f9ff;
            --secondary: #64748b;
            --light: #f8fafc;
            --dark: #1e293b;
            --success: #10b981;
            --danger: #ef4444;
            --warning: #f59e0b;
            --border: #e2e8f0;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
        }
        
        body {
            font-family: 'Inter', system-ui, sans-serif;
            background-color: var(--light);
            color: var(--dark);
            line-height: 1.6;
        }
        
        .navbar {
            box-shadow: var(--shadow);
            background-color: white;
        }
        
        .section {
            padding: 3rem 0;
        }
        
        .section-title {
            margin-bottom: 2rem;
            text-align: center;
        }
        
        .section-title h2 {
            font-weight: 700;
            margin-bottom: 0.5rem;
            position: relative;
            display: inline-block;
        }
        
        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 3px;
            background-color: var(--primary);
            border-radius: 3px;
        }
        
        .section-title p {
            color: var(--secondary);
            max-width: 700px;
            margin: 0 auto;
        }
        
        .member-card {
            background-color: white;
            border-radius: 0.75rem;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
        }
        
        .member-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }
        
        .member-stats {
            display: flex;
            align-items: center;
            gap: 1.25rem;
            color: var(--secondary);
            font-size: 0.85rem;
        }
        
        .stat-item {
            display: flex;
            align-items: center;
            gap: 0.35rem;
        }
        
        .stat-item i {
            font-size: 0.9rem;
        }
        
        .stat-item.likes i {
            color: var(--danger);
        }
        
        .stat-item.comments i {
            color: var(--primary);
        }
        
        .stat-item.views i {
            color: var(--secondary);
        }
        
        .stat-item.saves i {
            color: var(--warning);
        }
        
        /* 网格布局样式 */
        .grid-layout {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-bottom: 3rem;
        }
        
        .grid-member-image {
            height: 200px;
            position: relative;
            overflow: hidden;
        }
        
        .grid-member-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .member-card:hover .grid-member-image img {
            transform: scale(1.05);
        }
        
        .grid-member-info {
            padding: 1.25rem;
        }
        
        .member-name {
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .member-name .badge {
            font-size: 0.65rem;
            padding: 0.15rem 0.4rem;
        }
        
        .member-bio {
            color: var(--secondary);
            font-size: 0.9rem;
            margin-bottom: 1rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        /* 列表布局样式 */
        .list-layout {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-bottom: 3rem;
        }
        
        .list-member-item {
            display: flex;
            background-color: white;
            border-radius: 0.75rem;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .list-member-item:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
        }
        
        .list-member-image {
            width: 220px;
            flex-shrink: 0;
            position: relative;
        }
        
        .list-member-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .list-member-info {
            flex-grow: 1;
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
        }
        
        .list-member-header {
            margin-bottom: 0.75rem;
        }
        
        .list-member-bio {
            color: var(--secondary);
            margin-bottom: 1rem;
            flex-grow: 1;
        }
        
        /* 大图布局样式 */
        .featured-layout {
            margin-bottom: 3rem;
        }
        
        .featured-member {
            background-color: white;
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        
        .featured-image-container {
            position: relative;
            height: 400px;
        }
        
        .featured-image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .featured-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
            padding: 2rem;
            color: white;
        }
        
        .featured-member-name {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .featured-member-bio {
            max-width: 700px;
            margin-bottom: 1rem;
        }
        
        .featured-stats {
            display: flex;
            gap: 1.5rem;
            color: rgba(255, 255, 255, 0.9);
        }
        
        /* 多图布局样式 */
        .multi-image-layout {
            margin-bottom: 3rem;
        }
        
        .multi-image-member {
            background-color: white;
            border-radius: 0.75rem;
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        
        .multi-images {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
            gap: 4px;
            height: 300px;
        }
        
        .multi-images img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .multi-images img:first-child {
            grid-column: 1 / 2;
            grid-row: 1 / 3;
        }
        
        .multi-image-info {
            padding: 1.25rem;
        }
        
        /* 无图会员样式 */
        .no-image-placeholder {
            width: 100%;
            height: 100%;
            background-color: var(--primary-light);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 3rem;
        }
        
        /* 标签样式 */
        .tags-container {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }
        
        .tag {
            font-size: 0.75rem;
            padding: 0.25rem 0.75rem;
            border-radius: 999px;
            background-color: var(--primary-light);
            color: var(--primary);
        }
        
        /* 响应式调整 */
        @media (max-width: 992px) {
            .list-member-item {
                flex-direction: column;
            }
            
            .list-member-image {
                width: 100%;
                height: 200px;
            }
            
            .featured-image-container {
                height: 300px;
            }
        }
        
        @media (max-width: 768px) {
            .multi-images {
                height: 250px;
            }
        }
        
        @media (max-width: 576px) {
            .section {
                padding: 2rem 0;
            }
            
            .grid-layout {
                grid-template-columns: 1fr;
            }
            
            .featured-image-container {
                height: 220px;
            }
            
            .featured-overlay {
                padding: 1rem;
            }
            
            .featured-stats {
                flex-wrap: wrap;
            }
            
            .multi-images {
                height: 200px;
            }
            
            .member-stats {
                flex-wrap: wrap;
                gap: 0.75rem;
            }
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg navbar-light">
        <div class="container">
            <a class="navbar-brand" href="#">
                <i class="fas fa-users text-primary me-2"></i>社交平台
            </a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav me-auto">
                    <li class="nav-item">
                        <a class="nav-link" href="#">首页</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" href="#">会员推荐</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">发现内容</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">活动中心</a>
                    </li>
                </ul>
                <div class="d-flex align-items-center gap-3">
                    <button class="btn btn-outline-primary">登录</button>
                    <button class="btn btn-primary">注册</button>
                </div>
            </div>
        </div>
    </nav>
    
    <!-- 主要内容区 -->
    <main>
        <!-- 特色会员展示区 -->
        <section class="section featured-layout">
            <div class="container">
                <div class="section-title">
                    <h2>本月特色会员</h2>
                    <p>这些会员凭借优质的内容和积极的社区参与度脱颖而出，成为本月焦点</p>
                </div>
                
                <div class="featured-member">
                    <div class="featured-image-container">
                        <img src="https://picsum.photos/1200/400?random=100" alt="特色会员作品展示" class="img-fluid">
                        <div class="featured-overlay">
                            <div class="featured-member-name">
                                林小明 <span class="badge bg-primary">年度创作者</span>
                            </div>
                            <div class="featured-member-bio">
                                旅行摄影师，用镜头记录世界各地的人文风情，擅长捕捉日常生活中的美好瞬间，作品曾获国际摄影大奖。
                            </div>
                            <div class="featured-stats">
                                <div class="stat-item likes">
                                    <i class="fas fa-heart"></i>
                                    <span>12.5k 点赞</span>
                                </div>
                                <div class="stat-item comments">
                                    <i class="fas fa-comment"></i>
                                    <span>3.2k 评论</span>
                                </div>
                                <div class="stat-item views">
                                    <i class="fas fa-eye"></i>
                                    <span>156k 浏览</span>
                                </div>
                                <div class="stat-item saves">
                                    <i class="fas fa-bookmark"></i>
                                    <span>8.7k 收藏</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 网格布局会员推荐 -->
        <section class="section bg-light">
            <div class="container">
                <div class="section-title">
                    <h2>热门创作者</h2>
                    <p>发现社区中最受欢迎的内容创作者，关注他们获取更多优质内容</p>
                </div>
                
                <div class="grid-layout">
                    <!-- 会员1 - 有单张图片 -->
                    <div class="member-card">
                        <div class="grid-member-image">
                            <img src="https://picsum.photos/600/400?random=1" alt="会员作品展示" class="img-fluid">
                        </div>
                        <div class="grid-member-info">
                            <div class="member-name">
                                张文静 <span class="badge bg-success">美食达人</span>
                            </div>
                            <div class="member-bio">
                                美食博主，擅长家常菜创新与烘焙，分享简单易做的美食教程和配方。
                            </div>
                            <div class="tags-container">
                                <span class="tag">美食</span>
                                <span class="tag">烘焙</span>
                                <span class="tag">家常菜</span>
                            </div>
                            <div class="member-stats">
                                <div class="stat-item likes">
                                    <i class="fas fa-heart"></i>
                                    <span>8.2k</span>
                                </div>
                                <div class="stat-item comments">
                                    <i class="fas fa-comment"></i>
                                    <span>1.5k</span>
                                </div>
                                <div class="stat-item views">
                                    <i class="fas fa-eye"></i>
                                    <span>98k</span>
                                </div>
                                <div class="stat-item saves">
                                    <i class="fas fa-bookmark"></i>
                                    <span>5.3k</span>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 会员2 - 无图片 -->
                    <div class="member-card">
                        <div class="grid-member-image">
                            <div class="no-image-placeholder">
                                <i class="fas fa-pen-fancy"></i>
                            </div>
                        </div>
                        <div class="grid-member-info">
                            <div class="member-name">
                                李思维 <span class="badge bg-primary">专栏作家</span>
                            </div>
                            <div class="member-bio">
                                哲学系博士，分享关于生活、思维与认知的思考，文章深入浅出，引发读者共鸣。
                            </div>
                            <div class="tags-container">
                                <span class="tag">哲学</span>
                                <span class="tag">认知</span>
                                <span class="tag">思考</span>
                            </div>
                            <div class="member-stats">
                                <div class="stat-item likes">
                                    <i class="fas fa-heart"></i>
                                    <span>6.7k</span>
                                </div>
                                <div class="stat-item comments">
                                    <i class="fas fa-comment"></i>
                                    <span>2.3k</span>
                                </div>
                                <div class="stat-item views">
                                    <i class="fas fa-eye"></i>
                                    <span>76k</span>
                                </div>
                                <div class="stat-item saves">
                                    <i class="fas fa-bookmark"></i>
                                    <span>4.8k</span>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 会员3 - 有单张图片 -->
                    <div class="member-card">
                        <div class="grid-member-image">
                            <img src="https://picsum.photos/600/400?random=3" alt="会员作品展示" class="img-fluid">
                        </div>
                        <div class="grid-member-info">
                            <div class="member-name">
                                王大力 <span class="badge bg-warning">健身教练</span>
                            </div>
                            <div class="member-bio">
                                专业健身教练，分享科学健身方法和营养搭配，帮助数百人实现身材管理目标。
                            </div>
                            <div class="tags-container">
                                <span class="tag">健身</span>
                                <span class="tag">营养</span>
                                <span class="tag">塑形</span>
                            </div>
                            <div class="member-stats">
                                <div class="stat-item likes">
                                    <i class="fas fa-heart"></i>
                                    <span>10.3k</span>
                                </div>
                                <div class="stat-item comments">
                                    <i class="fas fa-comment"></i>
                                    <span>3.1k</span>
                                </div>
                                <div class="stat-item views">
                                    <i class="fas fa-eye"></i>
                                    <span>124k</span>
                                </div>
                                <div class="stat-item saves">
                                    <i class="fas fa-bookmark"></i>
                                    <span>7.5k</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 多图布局会员推荐 -->
        <section class="section multi-image-layout">
            <div class="container">
                <div class="section-title">
                    <h2>多元创作达人</h2>
                    <p>这些会员在多个领域展现才华，创作内容丰富多样</p>
                </div>
                
                <div class="multi-image-member">
                    <div class="multi-images">
                        <img src="https://picsum.photos/600/800?random=10" alt="会员作品1" class="img-fluid">
                        <img src="https://picsum.photos/600/400?random=11" alt="会员作品2" class="img-fluid">
                        <img src="https://picsum.photos/600/400?random=12" alt="会员作品3" class="img-fluid">
                    </div>
                    <div class="multi-image-info">
                        <div class="member-name">
                            陈思远 <span class="badge bg-info">全能创作者</span>
                        </div>
                        <div class="member-bio">
                            自由创作者，涉足摄影、绘画与短视频制作多个领域，作品风格独特，充满创意与想象力。
                        </div>
                        <div class="tags-container">
                            <span class="tag">摄影</span>
                            <span class="tag">绘画</span>
                            <span class="tag">短视频</span>
                            <span class="tag">创意</span>
                        </div>
                        <div class="member-stats">
                            <div class="stat-item likes">
                                <i class="fas fa-heart"></i>
                                <span>15.8k 点赞</span>
                            </div>
                            <div class="stat-item comments">
                                <i class="fas fa-comment"></i>
                                <span>4.2k 评论</span>
                            </div>
                            <div class="stat-item views">
                                <i class="fas fa-eye"></i>
                                <span>215k 浏览</span>
                            </div>
                            <div class="stat-item saves">
                                <i class="fas fa-bookmark"></i>
                                <span>12.3k 收藏</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 列表布局会员推荐 -->
        <section class="section bg-light list-layout">
            <div class="container">
                <div class="section-title">
                    <h2>新晋潜力会员</h2>
                    <p>这些新兴创作者正在快速成长，带来新鲜独特的内容视角</p>
                </div>
                
                <!-- 会员1 - 有图片 -->
                <div class="list-member-item">
                    <div class="list-member-image">
                        <img src="https://picsum.photos/400/600?random=20" alt="会员作品展示" class="img-fluid">
                    </div>
                    <div class="list-member-info">
                        <div class="list-member-header">
                            <div class="member-name">
                                赵晓雨 <span class="badge bg-secondary">手工达人</span>
                            </div>
                        </div>
                        <div class="list-member-bio">
                            手工爱好者，专注于传统手工艺的现代创新，分享手作教程和作品展示，包括陶艺、编织和纸艺等多种形式。每周更新原创教程，深受手工爱好者喜爱。
                        </div>
                        <div class="tags-container">
                            <span class="tag">手工</span>
                            <span class="tag">陶艺</span>
                            <span class="tag">编织</span>
                            <span class="tag">教程</span>
                        </div>
                        <div class="member-stats">
                            <div class="stat-item likes">
                                <i class="fas fa-heart"></i>
                                <span>3.7k 点赞</span>
                            </div>
                            <div class="stat-item comments">
                                <i class="fas fa-comment"></i>
                                <span>956 评论</span>
                            </div>
                            <div class="stat-item views">
                                <i class="fas fa-eye"></i>
                                <span>42k 浏览</span>
                            </div>
                            <div class="stat-item saves">
                                <i class="fas fa-bookmark"></i>
                                <span>2.1k 收藏</span>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 会员2 - 无图片 -->
                <div class="list-member-item">
                    <div class="list-member-image">
                        <div class="no-image-placeholder">
                            <i class="fas fa-music"></i>
                        </div>
                    </div>
                    <div class="list-member-info">
                        <div class="list-member-header">
                            <div class="member-name">
                                刘音乐 <span class="badge bg-danger">独立音乐人</span>
                            </div>
                        </div>
                        <div class="list-member-bio">
                            独立音乐人，擅长创作民谣和轻音乐，分享原创歌曲和音乐创作心得。作品风格清新治愈，歌词富有诗意，在年轻人中积累了不少粉丝。每月定期进行线上演出直播。
                        </div>
                        <div class="tags-container">
                            <span class="tag">音乐</span>
                            <span class="tag">民谣</span>
                            <span class="tag">原创</span>
                            <span class="tag">直播</span>
                        </div>
                        <div class="member-stats">
                            <div class="stat-item likes">
                                <i class="fas fa-heart"></i>
                                <span>5.2k 点赞</span>
                            </div>
                            <div class="stat-item comments">
                                <i class="fas fa-comment"></i>
                                <span>1.3k 评论</span>
                            </div>
                            <div class="stat-item views">
                                <i class="fas fa-eye"></i>
                                <span>67k 浏览</span>
                            </div>
                            <div class="stat-item saves">
                                <i class="fas fa-bookmark"></i>
                                <span>3.8k 收藏</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </main>
    
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script>
        // 页面加载完成后的交互效果
        document.addEventListener('DOMContentLoaded', function() {
            // 为所有会员卡片添加点击事件，跳转到会员详情页
            const memberCards = document.querySelectorAll('.member-card, .list-member-item, .featured-member, .multi-image-member');
            memberCards.forEach(card => {
                card.addEventListener('click', function() {
                    const memberName = this.querySelector('.member-name, .featured-member-name').textContent.trim().split(' ')[0];
                    alert(`查看 ${memberName} 的详细资料（实际应用中会跳转到会员详情页）`);
                });
            });
            
            // 为统计数据项添加悬停效果
            const statItems = document.querySelectorAll('.stat-item');
            statItems.forEach(item => {
                item.addEventListener('mouseenter', function() {
                    this.style.transform = 'scale(1.1)';
                    this.style.transition = 'transform 0.2s ease';
                });
                
                item.addEventListener('mouseleave', function() {
                    this.style.transform = 'scale(1)';
                });
            });
        });
    </script>
</body>
</html>
    
